package com.ssm.order.pojo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.persistence.*;
import java.io.Serializable;
import java.lang.Double;
import java.lang.String;
import java.lang.Integer;
/****
 * @Author:shenkunlin
 * @Description:Account构建
 * @Date 2019/6/14 19:13
 *****/
@ApiModel(description = "Account",value = "Account")
@Table(name="account")
public class Account implements Serializable{

	@ApiModelProperty(value = "编号",required = false)
	@Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "id")
	private Integer id;//编号

	@ApiModelProperty(value = "用户编号",required = false)
    @Column(name = "name")
	private String name;//用户编号

	@ApiModelProperty(value = "金额",required = false)
    @Column(name = "money")
	private Double money;//金额



	//get方法
	public Integer getId() {
		return id;
	}

	//set方法
	public void setId(Integer id) {
		this.id = id;
	}
	//get方法
	public String getName() {
		return name;
	}

	//set方法
	public void setName(String name) {
		this.name = name;
	}
	//get方法
	public Double getMoney() {
		return money;
	}

	//set方法
	public void setMoney(Double money) {
		this.money = money;
	}


}
